*{
    margin: 0;
    padding: 0;
    list-style: none;
}
body{
    
    text-align: center;
    padding-top: 1rem;
}
#pp{
    width: 100%;
    height: 540px;
    background: #091249;
    margin: 0 auto;
    position: absolute;
}
.sds{
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    height: 600px;
    display: none;
}
#py{
    width: 150px;
    height: 50px;
    background: #ff6600;
    color: #f5e931;
    font-size: 20px;
    text-align: center;
    margin-top: 15px;
}
.pg{
    width: 240px;
    height: 35px;
    border: 1px solid #000;
    margin: 0 auto;
    font-weight: bold;
    font-size: 18px;
    line-height: 35px;
    background: #ff6600;
    color: #f5e931;
    border-radius: 35%;
}
#po{
    width:100%;
    height: 670px;
    margin: 0 auto;
    background: #091249 url(../images/01.jpg);
}
.box1{
    width: 520px;
    margin: 0 auto;
    height: 50px;
    margin-top: -10px;
}
#pu{
    width: 520px;
    font-size: 20px;
    text-align: center;
    margin-top: 97px;
}
.bn{
    font-size: 20px;
    margin-top: 10px;
    padding-top:70px;
    color: white;
}
.box2{
    width: 520px;
    height: 200px; 
    margin: 10px auto;
}
#pi{
    width: 520px;
    height: 200px;
    font-size: 20px;
   
    text-align: center;
}
label{
    display: inline-block;
    width: 16rem;
    height: 3rem;
    line-height: 3rem;
    font-weight: bold;
    text-align: center;
    border: 1px solid #666;
    background:#f5f6f9;
    font-weight: bold;
    border-radius: 10px;
    transition: all linear .3s;
    margin-top: 30px;
}
input:checked + label{
    color: pink;
    background: aqua;
}
.line{
    margin-bottom:10rem;
}
img{
    width: 100%;
    height: 100%;
}
.visews{
    width: 250px;
    height: 250px;
    text-align: center;
    margin: 0 auto;
      /* 设置3d元素距离 */
    perspective: 1000px;
}
.box{
    transform-style: preserve-3d;
    width: 250px;
    height: 250px;
    position: relative;
    transform:rotateY(20deg) rotateX(-5deg);
    transition: all linear .5s;
}
.face{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.1), 0 0 50px rgba(0, 0, 0, 0.3);
    /* opacity: ; */
    transition: all ease-in-out .5s;
}
.front{
    transform: translate3d(0,0,125px);
}
.back{
    transform: rotateY(180deg) translate3d(0,0,125px);
}
.left{
    transform: rotateY(-90deg)  translate3d(0,0,125px);
}
.right{
    transform: rotateY(90deg)  translate3d(0,0,125px);
}
.top{
    transform: rotateX(90deg)  translate3d(0,0,125px);
}
.bottom{
    transform: rotateX(-90deg)  translate3d(0,0,125px);
}
#front:checked ~ .visews .box{
    transform: rotateY(200deg) rotateX(-5deg);
}
#back:checked ~ .visews .box{
    transform: rotateY(110deg) rotateX(-5deg);
}
#left:checked ~ .visews .box{
    transform: rotateY(-70deg) rotateX(-5deg);
}
#right:checked ~ .visews .box{
    transform: rotateY(20deg) rotateX(-5deg);
}
#top:checked ~ .visews .box{
    transform: rotateY(20deg) rotateX(-90deg);
}
#bottom:checked ~ .visews .box{
    transform: rotateY(20deg) rotateX(90deg);
}
#big:checked ~ .visews .box{
    transform: scale(1.3) rotateY(20deg) rotateX(-5deg);
}
#small:checked ~ .visews .box{
    transform: scale(.5) rotateY(20deg) rotateX(-5deg);
}


#open:checked ~ .visews .box .front{
    transform:translate3d(0,0,225px);
}

#open:checked ~ .visews .box .back{
    transform:rotateY(180deg) translate3d(0,0,225px);
    
}

#open:checked ~ .visews .box .left{
    transform:rotateY(-90deg) translate3d(0,0,225px);
}

#open:checked ~ .visews .box .right{
    transform:rotateY(90deg) translate3d(0,0,225px);
}

#open:checked ~ .visews .box .top{
    transform:rotateX(90deg) translate3d(0,0,225px);
}

#open:checked ~ .visews .box .bottom{
    transform:rotateX(-90deg) translate3d(0,0,225px);
}
@media screen and (max-width:700px){
 .ww{
     display: none;
 }
 .sds{
     display: block;
     margin-top: 15px;
 }
}
.ba{
    margin-top: 540px;
    width: 100%;
    height: 70px;
    line-height: 70px;
    background: #091249;
}
.pt{
    width: 240px;
    height: 35px;
    margin: 0 auto;
    font-weight: bold;
    font-size: 18px;
    line-height: 35px;
    background: #ff6600;
    color: #f5e931;
    border-radius: 35%;
}
@media screen and (max-width:700px){
    .ba{
        margin-top: 0;
        padding-top: 18px;
    }
    .pt{
        width: 109px;
        height: 30px;
        font-size: 11px;
    }
    #pu {
        width: 354px;
        margin-top: 12px;
    }
    #pi {
        width: 356px;
    }
    .box2 {
        width: 380px;
    }
    .box1 {
        width: 376px;
    }
    .bn{   
         padding-top: 2px;
        }
        #po {
            width: 100%;
            height: 400px;
        }
}